package com.example.tool.bean.ddaiexcel;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateAiSheetRequest {
    @JsonProperty("name")
    private String name;

    @JsonProperty("fields")
    private List<FieldConfig> fields;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class FieldConfig {
        @JsonProperty("name")
        private String name;

        @JsonProperty("type")
        private String type;

        @JsonProperty("property")
        private Map<String, Object> property;
    }
}

